<body>
Some text here.
<script>
// Should not change the domain.
try {
  document.domain = 'apple.com';
} catch (e) {
}

</script>
</body>
